home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Demos / Bowers Development / AppMaker 2.0b5 / Examples / ODF / AMSample / Sources / Select.h < prev    next >
Encoding:
Text File  |  1996-06-03  |  1.7 KB  |  64 lines  |  [TEXT/CWIE]

  1. //========================================================================================
  2. //
  3. //    File:                Select.h
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef SELECT_H
  11. #define SELECT_H
  12.  
  13. // ----- Framework Includes -----
  14.  
  15. #ifndef FWSELECT_H
  16. #include "FWSelect.h"
  17. #endif
  18.  
  19. //========================================================================================
  20. //    Forward Declarations
  21. //========================================================================================
  22.  
  23. class FW_CCloneInfo;
  24.  
  25. class CAMSampleContent;
  26. class FW_CString;
  27.  
  28. //========================================================================================
  29. //    class CAMSampleSelection
  30. //========================================================================================
  31.  
  32. class CAMSampleSelection : public FW_CSelection
  33. {
  34. //----------------------------------------------------------------------------------------
  35. //    Initialization/Destruction
  36. //
  37.   public:
  38.  
  39.     FW_DECLARE_AUTO(CAMSampleSelection)
  40.  
  41.     CAMSampleSelection(Environment* ev, CAMSampleContent* content);
  42.     virtual ~CAMSampleSelection();
  43.  
  44. //----------------------------------------------------------------------------------------
  45. //    Inherited API
  46. //
  47.   public:
  48.     virtual void            CloseSelection(Environment* ev);
  49.     virtual void            ClearSelection(Environment* ev);
  50.     virtual FW_Boolean        IsEmpty(Environment* ev) const;
  51.     virtual void            SelectAll(Environment* ev);
  52.  
  53.     virtual FW_CContent*    GetSelectedContent(Environment* ev);
  54.  
  55. //----------------------------------------------------------------------------------------
  56. //    Data Members
  57. //
  58.   private:
  59.     CAMSampleContent*        fAMSampleContent;
  60. };
  61.  
  62.  
  63. #endif
  64.